<?php
	global $_W,$_GPC;
	if($_W['role']&&$_W['isajax']){
		$did = $_GPC['did'];
		$del = pdo_delete('mii_ang_tech',array('id'=>$did));
		if($del){
			$code = json_encode(array('status'=>'1','msg'=>'删除成功'));
			exit($code);
		}else{
			$code = json_encode(array('status'=>'2','msg'=>'删除失败'));
			exit($code);			
		}
	}else{
		$code = json_encode(array('status'=>'2','msg'=>'没有操作权限！'));
		exit($code);
	}
?>